var t = require("../../api/ajax.js"), e = require("../../common/vendor.js");

require("../../api/service.js"), require("../../utils/luch-request/core/Request.js"), 
require("../../utils/luch-request/core/dispatchRequest.js"), require("../../utils/luch-request/adapters/index.js"), 
require("../../utils/luch-request/helpers/buildURL.js"), require("../../utils/luch-request/utils.js"), 
require("../../utils/luch-request/core/buildFullPath.js"), require("../../utils/luch-request/helpers/isAbsoluteURL.js"), 
require("../../utils/luch-request/helpers/combineURLs.js"), require("../../utils/luch-request/core/settle.js"), 
require("../../utils/luch-request/core/InterceptorManager.js"), require("../../utils/luch-request/core/mergeConfig.js"), 
require("../../utils/luch-request/core/defaults.js"), require("../../utils/luch-request/utils/clone.js"), 
require("../../uni_modules/u-store/js_sdk/Storage.js"), require("../../config/config.js");

var i = {
    props: {
        id: {
            type: String
        },
        keywords: {
            type: String
        }
    },
    setup: function(t) {
        return {
            id: t.id,
            keywords: t.keywords
        };
    },
    data: function() {
        return {
            value: 0,
            title: "Hello",
            infoData: {},
            columnTable: [ {
                name: "id",
                label: "编号",
                width: 50,
                align: "center"
            }, {
                name: "buwei",
                label: "部位",
                width: 50,
                align: "center"
            }, {
                name: "xinghao",
                label: "型号",
                align: "center"
            }, {
                name: "zhibao",
                label: "质保",
                width: 50,
                align: "center"
            } ],
            dataTable: [ {} ]
        };
    },
    onLoad: function() {
        this.getQualityInfo(this.id, this.keywords);
    },
    methods: {
        getQualityInfo: function(id, i) {
            var o = this;
            t.doGetUrl("https://che.fuliaoxx.com/api/index/postSerach", {
                phone:i
            }).then(function(t) {
                var e = t.data.data.reverse();
                if(!id){
                  o.infoData=e[0]
                }else{
                  e.map(item=>{
                    if(item.id==id){
                      o.infoData=item
                    }
                  })
                }
                o.loading = !1;
            });
        }
    }
};

Array || (e.resolveComponent("uv-image") + e.resolveComponent("uv-list-item") + e.resolveComponent("uv-list") + e.resolveComponent("uv-text") + e.resolveComponent("zb-table"))(), 
Math || (function() {
    return "../../uni_modules/uv-image/components/uv-image/uv-image.js";
} + function() {
    return "../../uni_modules/uv-list/components/uv-list-item/uv-list-item.js";
} + function() {
    return "../../uni_modules/uv-list/components/uv-list/uv-list.js";
} + function() {
    return "../../uni_modules/uv-text/components/uv-text/uv-text.js";
} + function() {
    return "../../uni_modules/zb-table/components/zb-table/zb-table.js";
})();

var o = e._export_sfc(i, [ [ "render", function(t, i, o, r, s, a) {
    return e.e({
        a: e.p({
            src: "/static/quality/quality.jpg",
            width: "750rpx",
            mode: "widthFix"
        }),
        b: e.t(s.infoData.name),
        c: e.t(s.infoData.phone),
        d: e.t(s.infoData.brand_name),
        e: e.t(s.infoData.series_name),
        f: e.t(s.infoData.plate_number),
        g: e.t(s.infoData.frame_number),
        h: e.t(s.infoData.product_type),
        i: e.t(s.infoData.product_color),
        j: e.t(s.infoData.core_number),
        k: e.t(s.infoData.construct_project),
        l: e.t(s.infoData.arrival_time),
        m: e.t(s.infoData.construct_time),
        n: e.t(s.infoData.period_time),
        o: e.t(s.infoData.construct_humen),
        p: e.t(s.infoData.construct_unit),
        q: e.t(s.infoData.price),
        r: s.infoData.images
    }, s.infoData.images ? {
        s: e.p({
            src: s.infoData.images,
            width: "650rpx",
            mode: "widthFix"
        })
    } : {}, {
        t: e.p({
            size: "26rpx",
            align: "center",
            lineHeight: "80rpx",
            text: "施工详情"
        }),
        v: e.p({
            "show-header": !0,
            columns: s.columnTable,
            stripe: !0,
            fit: !0,
            border: !0,
            data: s.dataTable
        }),
        w: e.p({
            size: "26rpx",
            bold: !0,
            text: "免责情况",
            color: "#ffffff",
            "custom-style": {
                marginBottom: "10px"
            }
        }),
        x: e.p({
            size: "24rpx",
            lineHeight: "42rpx",
            "custom-style": {
                marginBottom: "10px"
            },
            text: "1、因天灾、外力或强酸碱物体等因素导致的车体、膜面损伤及不正确的保养方式造成的产品损伤，独彩及施工单位将不承担任何责任;",
            color: "#ffffff"
        }),
        y: e.p({
            size: "24rpx",
            lineHeight: "42rpx",
            "custom-style": {
                marginBottom: "10px"
            },
            text: "2、去除膜时，应由施工单位进行专业去除，由车主擅自去除操作引起的膜体损坏或漆面损伤，独彩及施工单位将不承担任何责任;",
            color: "#ffffff"
        }),
        z: e.p({
            size: "24rpx",
            lineHeight: "42rpx",
            "custom-style": {
                marginBottom: "10px"
            },
            text: "3、对人为造成的划痕或破损可由施工单位对破损部位进行局部修复或更换，将酌情收取工本费",
            color: "#ffffff"
        }),
        A: e.p({
            size: "26rpx",
            bold: !0,
            "custom-style": {
                marginBottom: "10px"
            },
            text: "质保内容",
            color: "#ffffff"
        }),
        B: e.p({
            size: "24rpx",
            bold: !0,
            "custom-style": {
                marginBottom: "10px"
            },
            text: "独彩在产品施工后，根据产品所属的分类，在对应的统一质保时间内提供以下质量保证:",
            color: "#ffffff"
        }),
        C: e.p({
            size: "24rpx",
            lineHeight: "42rpx",
            "custom-style": {
                marginBottom: "10px"
            },
            text: "1、保证膜的自身附着性能，不产生非触碰变形、分层或自然脱离车体;",
            color: "#ffffff"
        }),
        D: e.p({
            size: "24rpx",
            lineHeight: "42rpx",
            "custom-style": {
                marginBottom: "10px"
            },
            text: "2、保证膜面外观不产生明显的太阳光照褪色现象;",
            color: "#ffffff"
        }),
        E: e.p({
            size: "24rpx",
            lineHeight: "42rpx",
            "custom-style": {
                marginBottom: "10px"
            },
            text: "3、保证膜与漆面剥离时几乎不留残胶，原厂漆无脱落损伤(漆面次喷涂部分发生脱落或损伤，不在保证范围内，以权威机构漆面成份检测结果为准)。",
            color: "#ffffff"
        }),
        F: e.p({
            size: "26rpx",
            bold: !0,
            "custom-style": {
                marginBottom: "10px"
            },
            text: "保养方法",
            color: "#ffffff"
        }),
        G: e.p({
            size: "24rpx",
            lineHeight: "42rpx",
            "custom-style": {
                marginBottom: "10px"
            },
            text: "1、施工后初期(交车日起3天内)，贴膜的附着力相对较低，为以防万请勿触碰膜面尤其是边缘部分;",
            color: "#ffffff"
        }),
        H: e.p({
            size: "24rpx",
            lineHeight: "42rpx",
            "custom-style": {
                marginBottom: "10px"
            },
            text: "2、施工后初期，可能会有后续产生气泡或水泡的可能性，属正常现象，经过10天左右时间可自然消失。如果着急，也可到施工单位进行快速处理;",
            color: "#ffffff"
        }),
        I: e.p({
            size: "24rpx",
            lineHeight: "42rpx",
            "custom-style": {
                marginBottom: "10px"
            },
            text: "3、清洗车辆请在完全干燥(施工后约1周)后进行;",
            color: "#ffffff"
        }),
        J: e.p({
            size: "24rpx",
            lineHeight: "42rpx",
            "custom-style": {
                marginBottom: "10px"
            },
            text: "4 .请避免使用带有胶粘剂之类的物品粘贴膜表面;",
            color: "#ffffff"
        }),
        K: e.p({
            size: "24rpx",
            lineHeight: "42rpx",
            "custom-style": {
                marginBottom: "10px"
            },
            text: "5、请避免使用易对膜面造成损伤的清洗工具，请勿使用刷子、研磨剂或带有研磨剂的海绵清洗膜面;",
            color: "#ffffff"
        }),
        L: e.p({
            src: "/static/image/bottom.png",
            width: "750rpx",
            mode: "widthFix"
        })
    });
} ] ]);

wx.createPage(o);